package com.xgst.smallscreen.http

import com.blankj.utilcode.util.SPStaticUtils
import com.hjq.http.config.IRequestServer
import com.xgst.readbook.base.CacheKey

class RequestServer : IRequestServer {
    override fun getHost(): String {
        val ip = SPStaticUtils.getString(CacheKey.IP, "192.168.2.6")
        val port = SPStaticUtils.getString(CacheKey.PORT, "8080")
        val url = "http://${ip}:$port/sample"
        return url
    }
}